package com.rtz.util.constants;

import java.util.Arrays;
import java.util.List;

/**
 * @author Administrator
 *
 */
public class ConstantCode {
	
	/**
	 * plate_code_all
	 */
	public final static String PLATE_CODE_ALL = "000000";
	/**
	 * 正常
	 */
	public final static String SECRET_INFO_STATUE_00 = "00";
	/**
	 * 正常
	 */
	public final static String PLATE_INFO_STATUE_00 = "00";
	

	/**
	 * 借款期限单位
	 */
	public final static String TERM_TYPE_YEAR = "03";

	public final static String TERM_TYPE_MONTH = "02";

	public final static String TERM_TYPE_DAY = "01";
	/**
	 * 还款方式
	 */
	public final static String REPAY_TYPE_01 = "01";
	public final static String REPAY_TYPE_02 = "02";
	public final static String REPAY_TYPE_03 = "03";
	public final static String REPAY_TYPE_04 = "04";
	public final static String REPAY_TYPE_05 = "05";
	public final static String REPAY_TYPE_06 = "06";
	public final static String REPAY_TYPE_07 = "07";
	public final static String REPAY_TYPE_08 = "08";
	public final static String REPAY_TYPE_09 = "09";
	public final static String REPAY_TYPE_10 = "10";
	public final static String REPAY_TYPE_11 = "11";
	public final static String REPAY_TYPE_12 = "12";
	public final static String REPAY_TYPE_13 = "13";
	public final static String REPAY_TYPE_14 = "14";
	public final static String REPAY_TYPE_15 = "15";
	public final static String REPAY_TYPE_16 = "16";
	public final static String REPAY_TYPE_17 = "17";
	public final static String REPAY_TYPE_18 = "18";
	public final static String REPAY_TYPE_19 = "19";
	public final static String REPAY_TYPE_20 = "20";
	public final static String REPAY_TYPE_21 = "21";
	public final static String REPAY_TYPE_22 = "22";
	public final static String REPAY_TYPE_23 = "23";
	public final static String REPAY_TYPE_24 = "24";
	public final static String REPAY_TYPE_25 = "25";
	public final static String REPAY_TYPE_26 = "26";
	public final static String REPAY_TYPE_99 = "99";
	/**
	 * 担保方式
	 */
	public final static String GUARANTEE_TYPE_01 = "01";
	public final static String GUARANTEE_TYPE_02 = "02";
	/**
	 * 交易类型
	 */
	public final static String TRADE_TYPE_LOAN = "01";
	public final static String TRADE_TYPE_ABORTIVE = "02";

	public static List<String> getTermType() {
		return Arrays.asList(TERM_TYPE_YEAR, TERM_TYPE_MONTH, TERM_TYPE_DAY);
	}

	public static List<String> getRepayType() {
		return Arrays.asList(REPAY_TYPE_01, REPAY_TYPE_02, REPAY_TYPE_03, REPAY_TYPE_04, REPAY_TYPE_05, REPAY_TYPE_06, REPAY_TYPE_07, REPAY_TYPE_08, REPAY_TYPE_09, REPAY_TYPE_10, REPAY_TYPE_11, REPAY_TYPE_12, REPAY_TYPE_13, REPAY_TYPE_14, REPAY_TYPE_15, REPAY_TYPE_16, REPAY_TYPE_17, REPAY_TYPE_18, REPAY_TYPE_19, REPAY_TYPE_20, REPAY_TYPE_21, REPAY_TYPE_22, REPAY_TYPE_23, REPAY_TYPE_24, REPAY_TYPE_25, REPAY_TYPE_26, REPAY_TYPE_99);
	}

	public static List<String> getGuaranteeType() {
		return Arrays.asList(GUARANTEE_TYPE_01, GUARANTEE_TYPE_02);
	}

	public static List<String> getTradeType() {
		return Arrays.asList(TRADE_TYPE_LOAN, TRADE_TYPE_ABORTIVE);
	}
}
